package com.itheima.service;


import com.itheima.domain.User;

import java.util.List;

public interface UserService {
    User findEmailAndPwd(String email, String password);

    List<User> findAll(Integer pageNum, Integer pageSize);
    List<User> findAll();

    void add(User user);

    User findById(String id);

    void update(User user);

    void deleteById(String id);
}
